﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iS3.DAL.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class DGEntityTypeAttribute : Attribute
    {
        private string _domain;

        public string Domain
        {
            get { return _domain; }
            set { _domain = value; }
        }

        private string _dgType;
        public string DGType
        {
            get { return _dgType; }
            set { _dgType = value; }
        }
        private string _dgName;
        public string DGName
        {
            get { return _dgName; }
            set { _dgName = value; }
        }
        public DGEntityTypeAttribute(string domain,string dgType,string dgName)
        {
            _domain = domain;
            _dgType = dgType;
            _dgName = dgName;
        }
    }
}
